package com.violet.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* @Author: wqf
* @Date: 2024/08/31
* @Description: 角色信息表
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description="角色信息表")
@TableName(value = "s_role")
public class Role extends LogicSuperEntity<Role>{
    /**
     * 角色名称
     */
    @TableField(value = "role_name")
    @Schema(description="角色名称")
    private String roleName;

    /**
     * 角色编码
     */
    @TableField(value = "role_code")
    @Schema(description="角色编码")
    private String roleCode;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @Schema(description="备注")
    private String remark;
}